﻿<UserControl x:Class="FacebookClient.FacebookPhotoTagControl"
     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
     xmlns:ClientManager="clr-namespace:ClientManager"
     xmlns:ClientManagerView="clr-namespace:ClientManager.View">
  <TextBlock
      FontSize="{DynamicResource MediumFontSize}"
      TextWrapping="Wrap"
      Margin="0,0,4,0"
      MouseEnter="PhotoTag_MouseEnter"
      MouseLeave="PhotoTag_MouseLeave">
    <Hyperlink  Click="OnNavigateToContentButtonClicked" ClientManagerView:ViewManager.NavigationContent="{Binding Contact}">
      <TextBlock Text="{Binding Contact.Name}" TextWrapping="Wrap"/>
    </Hyperlink>
  </TextBlock>
</UserControl>